# 定义一个函数
import requests


def get_hearder():
     resp = requests.post(url="http://192.168.43.115:1111/admin/system/index/login",
                         json={"username":"admin","password":"111111"})

     return resp.json().get("data")





if __name__ == '__main__':
    get_hearder()

